Optimal. Leaf size=20 \[ \frac{\cos (e+f x) \sin ^{m+1}(e+f x)}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0284205, antiderivative size = 20, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.04, Rules used = {3011} \[ \frac{\cos (e+f x) \sin ^{m+1}(e+f x)}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3011
Rubi steps
\begin{align*} \int \sin ^m(e+f x) \left (1+m-(2+m) \sin ^2(e+f x)\right ) \, dx &=\frac{\cos (e+f x) \sin ^{1+m}(e+f x)}{f}\\ \end{align*}
Mathematica [C] time = 0.175617, size = 107, normalized size = 5.35 \[ \frac{\cos (e+f x) \sin ^{m+1}(e+f x) \left ((m+3) \, _2F_1\left (\frac{1}{2},\frac{m+1}{2};\frac{m+3}{2};\sin ^2(e+f x)\right )-(m+2) \sin ^2(e+f x) \, _2F_1\left (\frac{1}{2},\frac{m+3}{2};\frac{m+5}{2};\sin ^2(e+f x)\right )\right )}{f (m+3) \sqrt{\cos ^2(e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 1.375, size = 0, normalized size = 0. \begin{align*} \int \left ( \sin \left ( fx+e \right ) \right ) ^{m} \left ( 1+m- \left ( 2+m \right ) \left ( \sin \left ( fx+e \right ) \right ) ^{2} \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 2.33524, size = 335, normalized size = 16.75 \begin{align*} -\frac{{\left (\left (-1\right )^{\frac{1}{2} \, m} e^{\left (\frac{1}{2} \, m \log \left (\cos \left (f x + e\right )^{2} + \sin \left (f x + e\right )^{2} + 2 \, \cos \left (f x + e\right ) + 1\right ) + \frac{1}{2} \, m \log \left (\cos \left (f x + e\right )^{2} + \sin \left (f x + e\right )^{2} - 2 \, \cos \left (f x + e\right ) + 1\right )\right )} \sin \left (-{\left (f x + e\right )}{\left (m + 2\right )} + m \arctan \left (\sin \left (f x + e\right ), \cos \left (f x + e\right ) + 1\right ) - m \arctan \left (\sin \left (f x + e\right ), -\cos \left (f x + e\right ) + 1\right )\right ) - \left (-1\right )^{\frac{1}{2} \, m} e^{\left (\frac{1}{2} \, m \log \left (\cos \left (f x + e\right )^{2} + \sin \left (f x + e\right )^{2} + 2 \, \cos \left (f x + e\right ) + 1\right ) + \frac{1}{2} \, m \log \left (\cos \left (f x + e\right )^{2} + \sin \left (f x + e\right )^{2} - 2 \, \cos \left (f x + e\right ) + 1\right )\right )} \sin \left (-{\left (f x + e\right )}{\left (m - 2\right )} + m \arctan \left (\sin \left (f x + e\right ), \cos \left (f x + e\right ) + 1\right ) - m \arctan \left (\sin \left (f x + e\right ), -\cos \left (f x + e\right ) + 1\right )\right )\right )} 2^{-m - 2}}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.73164, size = 59, normalized size = 2.95 \begin{align*} \frac{\sin \left (f x + e\right )^{m} \cos \left (f x + e\right ) \sin \left (f x + e\right )}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -{\left ({\left (m + 2\right )} \sin \left (f x + e\right )^{2} - m - 1\right )} \sin \left (f x + e\right )^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]